@import '../style/var';

.van-process-button__wrap {
  padding: 8px 16px;

  display: flex;
  flex-direction: row;
  align-items: center;
}

.van-process-button__more {
  font-size: 14px;
}

.van-process-button__operation {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;

  &--center {
    justify-content: center;
  }
}

.van-process-button__dialog {
  padding: 10px 24px !important;

  .van-cellson {
    padding-top: 0;
  }

  &-formItem_title {
    text-align: left;
    font-size: 12px;
    padding-left: 16px;
  }

  &-formItem_title--required::after {
    content: '*';
    color: red;
  }


  &-input {
    box-sizing: border-box;
    padding: 0 8px;
    margin: 10px 0;
    border-radius: 4px;
    border: 1px solid #DADEE8;
    text-align: left;
  }

  &-picker {
    box-sizing: border-box;
    padding: 0 8px;
    margin: 10px 0;
    border-radius: 4px;
    border: 1px solid #DADEE8;
    text-align: left;
  }

}

.van-process-button__link {
  display: none;
}


.van-process-button__popover-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: @popover-action-width;
  height: @popover-action-height;
  padding: 0 @padding-md;
  font-size: @popover-action-font-size;
  line-height: @line-height-md;
  cursor: pointer;
}

.van-process-button__popup {
  padding: 12px 16px;

  &-title {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 28px;
  }

  .van-cellson {
    padding: 0;
  }

  .van-field[label-layout=block]>.van-field__value,
  .van-field[label-layout=block]:not(:last-child) {
    margin: 0;
    padding-bottom: 8px;
  }
  .van-field[label-layout=block] .van-field__label {
    margin-bottom: 4px;
  }

  &-signOptionSection {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  &-signOption {
    border-radius: 4px;
    border: 1px solid #E5E5E5;
    padding: 8px 16px;
    display: flex;
    font-size: 14px;
  }

  &-signOption .van-radio {
    min-width: unset;
    width: 16px;
    margin: 4px 8px 0 0;
  }

  &-signOption[selected] {
    border-color: #3377FF;
  }


  &-picker {
    padding: 0 8px;
    margin: 10px 0;
  }

  &-divider {
    margin-bottom: 16px;
    height: 1px;
    background-color: #E5E5E5;
  }

  .van-field__error-message {
    position: fixed;
    right: 16px;
    z-index: 999;
  }

  .van-cellson--required:before {
    left: 0;
  }
}
